import layout from '@/layout/'
const meta = { auth: false}
export default {
    path: '/charge-exhuast',
    name: 'charge-exhuast',
    meta,
    redirect: { name: 'charge-exhuast-index' },
    component: layout,
    children: (pre => [
        {
            path: 'index',
            name: `${pre}index`,
            component: () => import('@/pages/ChargeExhaust/index'),
            meta: { ...meta, title: '装药排气' }
        },
        {
            path: 'reset',
            name: `${pre}reset`,
            component: () => import('@/pages/ChargeExhaust/reset'),
            meta: { ...meta, title: '螺杆复位' }
        },
        {
            path: 'lxReset',
            name: `${pre}lxReset`,
            component: () => import('@/pages/ChargeExhaust/LxReset'),
            meta: { ...meta, title: '螺杆复位确认界面' }
        },
        {
            path: 'exhaust',
            name: `${pre}exhaust`,
            component: () => import('@/pages/ChargeExhaust/exhaust'),
            meta: { ...meta, title: '推进排气' }
        },
        {
            path: 'exhaust2',
            name: `${pre}exhaust2`,
            component: () => import('@/pages/ChargeExhaust/exhaust2'),
            meta: { ...meta, title: '推进排气2' }
        },
        {
            path: 'exhausting',
            name: `${pre}exhausting`,
            component: () => import('@/pages/ChargeExhaust/exhausting'),
            meta: { ...meta, title: '推进排气中' }
        },
        {
            path: 'exhaust-history',
            name: `${pre}exhaust-history`,
            component: () => import('@/pages/ChargeExhaust/ExhaustHistory'),
            meta: { ...meta, title: '排气记录回顾' }
        },
        {
            path: 'reset-history',
            name: `${pre}reset-history`,
            component: () => import('@/pages/ChargeExhaust/ResetHistory'),
            meta: { ...meta, title: '螺旋杆复位回顾' }
        },
        {
            path: 'day-history',
            name: `${pre}day-history`,
            component: () => import('@/pages/ChargeExhaust/DayHistory'),
            meta: { ...meta, title: '日总量回顾' }
        },
        {
            path: 'warning-history',
            name: `${pre}warning-history`,
            component: () => import('@/pages/ChargeExhaust/WarningHistory'),
            meta: { ...meta, title: '警示记录回顾' }
        },
    ])('charge-exhuast-')
}